﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISEMineral")]
    public interface ISEMineral
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/ListarMineral", ReplyAction = "http://tempuri.org/ISEMineral/ListarMineralResponse")]
        Mineral[] ListarMineral();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/InsertarMineral", ReplyAction = "http://tempuri.org/ISEMineral/InsertarMineralResponse")]
        int InsertarMineral(Mineral mineral);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/ModificarMineral", ReplyAction = "http://tempuri.org/ISEMineral/ModificarMineralResponse")]
        void ModificarMineral(Mineral mineral);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/EliminarMineral", ReplyAction = "http://tempuri.org/ISEMineral/EliminarMineralResponse")]
        void EliminarMineral(int codigoMineral);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/BuscarMineral", ReplyAction = "http://tempuri.org/ISEMineral/BuscarMineralResponse")]
        Mineral[] BuscarMineral(string descripcion);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/ObtenerMineral", ReplyAction = "http://tempuri.org/ISEMineral/ObtenerMineralResponse")]
        Mineral ObtenerMineral(int codigoMineral);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISEMineral/ObtenerListItem", ReplyAction = "http://tempuri.org/ISEMineral/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISEMineralChannel : ISEMineral, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SEMineralClient : System.ServiceModel.ClientBase<ISEMineral>, ISEMineral
    {

        public SEMineralClient()
        {
        }

        public SEMineralClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SEMineralClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEMineralClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SEMineralClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public Mineral[] ListarMineral()
        {
            return base.Channel.ListarMineral();
        }

        public int InsertarMineral(Mineral mineral)
        {
            return base.Channel.InsertarMineral(mineral);
        }

        public void ModificarMineral(Mineral mineral)
        {
            base.Channel.ModificarMineral(mineral);
        }

        public void EliminarMineral(int codigoMineral)
        {
            base.Channel.EliminarMineral(codigoMineral);
        }

        public Mineral[] BuscarMineral(string descripcion)
        {
            return base.Channel.BuscarMineral(descripcion);
        }

        public Mineral ObtenerMineral(int codigoMineral)
        {
            return base.Channel.ObtenerMineral(codigoMineral);
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }
    }

}